
#ifndef _IOT_H

#define _IOT_H



#include "coap.h"


#define MAX_SIZE_USER_NAME             32
#define MAX_SIZE_PASSWORD              32

static char UserName[MAX_SIZE_USER_NAME]  = {0};
static char Password[MAX_SIZE_PASSWORD]  = {0};


void Iot_SetAccount(char* name, char* passwd);

void Iot_Register(void);
void Iot_UploadDeviceStringAttribute(char* dev_name, char* dev_attr, char* param);
void Iot_UploadDeviceIntAttribute(char* dev_name, char*dev_attr, int param);




#endif
